package Expe10;

/**
 * @Author 28021
 * @Date 2022/11/15
 */
public class Circle extends Geometry{
    double r;
    Circle(double r){
        this.r=r;
    }
    public double getArea(){
        return Math.PI*r*r;
    }
}
